package java68_2;

import java.util.Scanner;

public class Max3 {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("请输入3个数：");
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		// 10 10 5
		if (a > b) {
			if (a > c) {
				System.out.println("最大值为：" + a);
			} else {
				System.out.println("最大值为：" + c);
			}
		} else /* if (b > a) */ {

			if (b > c) {
				System.out.println("最大值为：" + b);
			} else {
				System.out.println("最大值为：" + c);
			}
		} /*
			 * else { System.out.println("最大值为：" + c); }
			 */

	}

}
